package priv.dajie.tzzq.spider.model;

public class SellingBuyInfo {
    ItemInfo info;
    double buyPrice;
    int buyNum;
    double sellPrice;
    int sellNum;

    public SellingBuyInfo(ItemInfo info, double buyPrice, int buyNum, double sellPrice, int sellNum) {
        this.info = info;
        this.buyPrice = buyPrice;
        this.buyNum = buyNum;
        this.sellPrice = sellPrice;
        this.sellNum = sellNum;
    }

    public ItemInfo getInfo() {
        return info;
    }

    public double getBuyPrice() {
        return buyPrice;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public double getSellPrice() {
        return sellPrice;
    }

    public int getSellNum() {
        return sellNum;
    }

    @Override
    public String toString() {
        return "SellingBuyInfo{" +
                "info=" + info +
                ", buyPrice=" + buyPrice +
                ", buyNum=" + buyNum +
                ", SellPrice=" + sellPrice +
                ", SellNum=" + sellNum +
                '}';
    }
}
